/*
 * @Date         : 2022-06-10 10:24:43
 * @LastEditors  : zu1662
 * @LastEditTime : 2022-07-21 15:46:18
 * @Description  : User interface
 * 
 * Copyright © 2022 by zu1662, All Rights Reserved. 
 */

import { UserEntity } from "./user.entity";

export enum UserRole {
  ROLE_ADMIN = 'admin',
  ROLE_USER = 'user'
}
export interface IUserListInfo {
  totalData: number; // 总数量
  data: UserEntity[] // 用户信息数组
}

export interface IUserCheckExist {
  email: boolean; // 邮箱
  phone: boolean; // 手机
}